Skip to content

Conversation

@brodock
Copy link

@brodock brodock commented Nov 19, 2025

Describe the change

Adds Nerdfont based bar_format symbols

Why are we doing this?

Nerdfont based progress bar is a popular format.

Here is how it looks like:

image

Benefits

How will the library improve?

Drawbacks

Possible drawbacks applying this change.

Requires a Nerdfont patched font to be able to see it.

The format doesn't allow for specifying right and left corners, so it can't look fully complete as in the example below:

image

I'm happy to implement additional support for that (requires four new optional style options, something on the lines of : start_incomplete, start_complete, end_incomplete end_complete. See https://www.nerdfonts.com/cheat-sheet (search for nf-extra-progress)

Requirements

  • Tests written & passing locally?
  • Code style checked?
  • Rebased with master branch?
  • Documentation updated?
  • Changelog updated?

incomplete: "♡",
unknown: "♡♥♡"
},
nerdfont: { # 

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/AsciiComments: Use only ascii symbols in comments.

":arrow, :asterisk, :blade, :block, :box, :bracket, " \
":burger, :button, :chevron, :circle, :classic, :crate, :diamond, :dot, " \
":heart, :rectangle, :square, :star, :track, :tread, :triangle, :wave"
":heart, :nerdfont, :rectangle, :square, :star, :track, :tread, :triangle, :wave"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metrics/LineLength: Line is too long. [87/80]

@brodock brodock force-pushed the brodock/nerdfont-progress-bar branch from f1c4d82 to 6cdd272 Compare November 19, 2025 17:05
@brodock brodock requested a review from houndci-bot November 19, 2025 17:13
@brodock brodock force-pushed the brodock/nerdfont-progress-bar branch from 6cdd272 to 28f6fae Compare November 19, 2025 18:13
@brodock brodock changed the title Add support for nerdfont based bar_format symbols Add support for :nerdfont based :bar_format symbols Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants